package cn.edu.nsmc.modules.sys.dao;

import cn.edu.nsmc.modules.sys.entity.SysUserEntity;
import cn.edu.nsmc.modules.sys.entity.excel.SysUserEntityExcel;
import cn.edu.nsmc.modules.sys.entity.vo.SysUserVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysRepairmanDao extends BaseMapper<SysUserEntity> {
    @MapKey("")
    List<Map<String,Object>> getSelectList(String name);

    List<SysUserVO> getList(Integer page, Integer size, SysUserEntity sysUserEntity);

    Integer getNumber(SysUserEntity sysUserEntity);

    Integer importRepairman(Long userId, List<SysUserEntityExcel> list);

    List<SysUserEntityExcel> exportRepairman(SysUserEntity sysUserEntity);
}
